package com.elink.enginerring.service;

import java.util.Map;

import com.elink.enginerring.co.BaseCo;
import com.elink.enginerring.co.CommentCo;
import com.elink.enginerring.domain.Praise;

public interface CommentService {

	Map<String, Object> getTopCommentsById(CommentCo co);

	Map<String, Object> addReply(String thesisId, int commentId, String userId,String content);

	Map<String, Object> add(String thesisId, String userId, String content);

	Map<String, Object> addPraise(Praise praise);

	Map<String, Object> getAllCommentsByTopId(BaseCo bc, int topId);

	Map<String, Object> getCommentForMe(BaseCo co ,String userId);

	Map<String, Object> getMyComment(BaseCo co ,String userId);

}
